import device, os
io_service = device.io_service()
pendant = device.Pendant(io_service, "/dev/ttyUSB0" if os.name=='posix' else 'COM4')
